import request from '@/utils/request'

// 查询交易_调入列表
export function listFold(query) {
  return request({
    url: '/dgw/fold/list',
    method: 'get',
    params: query
  })
}

// 查询交易_调入详细
export function getFold(id) {
  return request({
    url: '/dgw/fold/' + id,
    method: 'get'
  })
}

// 新增交易_调入
export function addFold(data) {
  return request({
    url: '/dgw/fold',
    method: 'post',
    data: data
  })
}

// 修改交易_调入
export function updateFold(data) {
  return request({
    url: '/dgw/fold',
    method: 'put',
    data: data
  })
}

// 删除交易_调入
export function delFold(id) {
  return request({
    url: '/dgw/fold/' + id,
    method: 'delete'
  })
}

// 导出交易_调入
export function exportFold(query) {
  return request({
    url: '/dgw/fold/export',
    method: 'get',
    params: query
  })
}